package com.ruizhong.centercontroll.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;
import java.util.List;
import java.util.Set;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_3d_scene")
@XmlRootElement
public class T3DScene {

    @XmlTransient
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @XmlTransient
    private Integer pageId;

    private Integer sceneIndex;

    private Double w;
    private Double h;
    private Double x;
    private Double y;
    private Integer z;

    private String displayVariableName;
    private String displayVariableValue;
    private Integer conditionShowData;
    @XmlTransient
    @TableField(exist = false)
    private Boolean conditionShow;

    @XmlTransient
    @TableField(exist = false)
    private String type = "3D";


    @TableField(exist = false)
    private List<T3DMesh> meshList;

    @TableField(exist = false)
    private Set<String> sourceList;
}
